package fauxman.PinkyStates;

import fauxman.DynamicElements.Ghost;
import fauxman.model.WorldModel;
import fauxman.utilities.SpriteUtil;

public class ScatterPinkyState extends PinkyState {
	private static ScatterPinkyState instance;
	private static int[] target = {2, -4};
	
	private ScatterPinkyState(){
	}
	
	public static ScatterPinkyState getInstance(){
		if (instance==null)
			instance = new ScatterPinkyState();
		return instance;
	}
	
	public void setAppearance(int appearanceID, Ghost g) {
		g.setAppearance(SpriteUtil.getPinkySprite(appearanceID));
	}
	
	//Pinky Target is upper left of playable area
	public int[] getTarget(WorldModel model, Ghost g) {
		
		return target;
	}
}
